package cn.bkw.ytkapi.utils;
import org.apache.log4j.Logger;  
  
public class LogUtil {  
    private static Logger cLogger = Logger.getLogger("CommonLog");  
    private static Logger eLogger = Logger.getLogger("InfoLog");  
      
    public static void addlearning(String classname,String message){  
        eLogger.info("["+classname+"] " + message);  
    }  
      
    public static void info(String classname,String message){  
        cLogger.info("["+classname+"] " + message);  
    }  
      
    public static void debug(String classname,String message){  
        cLogger.debug("["+classname+"] " + message);  
    }  
      
    public static void warn(String classname,String message){  
        cLogger.warn("["+classname+"] " + message);  
    }  
      
    public static void error(String classname,String message){  
        cLogger.error("["+classname+"] " + message);  
    }  
}  